package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.RoleBean;
import com.project.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface IUserMapper extends BaseMapper<UserBean> {
    public void del(Integer userId);
    public void updateRole(@Param("userId") Integer userId, @Param("newRoleIdArray") Integer[] newRoleIdArray);
}
